<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>报表</title>
<link rel="stylesheet" href="${ctx}/statics/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/statics/css/font-awesome.min.css" />
<link rel="stylesheet"
	href="${ctx}/statics/js/layer/skin/default/layer.css" />
<link rel="stylesheet"
	href="${ctx}/statics/js/bootstrap-table/bootstrap-table.css" />
<link rel="stylesheet" href="${ctx}/statics/js/toastr/toastr.css" />
</head>
<body>
	<div id="main-content" class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">客户类型报表</div>
			<div class="panel-body  xb-label-content">
				<div class="container">
					<table id="entity_table1" class="table table-bordered table-hover">
						<thead>
							<tr>
								<th>类型名称</th>
								<th>拥有人数</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="vv" items="${typeReportList}">
								<tr>
									<td>${vv.typeName}</td>
									<td>${vv.num}</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>

	<div id="main-content" class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">客户来源报表</div>
			<div class="panel-body xb-label-content">
				<div class="container">
					<table id="entity_table2" class="table table-bordered table-hover">
						<thead>
							<tr>
								<th>来源名称</th>
								<th>拥有人数</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="vv" items="${sourceReportList}">
								<tr>
									<td>${vv.sourceName}</td>
									<td>${vv.num}</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>

	<div id="main-content" class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">客户状态报表</div>
			<div class="panel-body xb-label-content">
				<div class="container">
					<table id="entity_table3" class="table table-bordered table-hover">
						<thead>
							<tr>
								<th>状态名称</th>
								<th>拥有人数</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="vv" items="${conditionRportList}">
								<tr>
									<td>${vv.conditionName}</td>
									<td>${vv.num}</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>

	<div id="main-content" class="container-fluid">
		<div class="panel panel-default">
			<div class="panel-heading">客户分配报表</div>
			<div class="panel-body xb-label-content">
				<div class="container">
					<table id="entity_table4" class="table table-bordered table-hover">
						<thead>
							<tr>
								<th>分配状态</th>
								<th>拥有人数</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="vv" items="${distrReportList}">
								<tr>
									<td>${vv.distrName}</td>
									<td>${vv.num}</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<%@ include file="../common.jsp"%>
	<script type="text/javascript"
		src="${ctx}/statics/js/jquery-form/jquery.form.js"></script>
</body>
</html>